Skip to content

feat(xmr): sign and verify messages - #1509

Merged
julian-CStack merged 1 commit into
stagingfrom
feat/monero-signing
Nov 11, 2026
Merged

julian-CStack merged 1 commit into
stagingfrom
feat/monero-signing

Conversation

@sneurlax

Copy link
Copy Markdown
Member

Implement SignVerifyInterface on LibMoneroWallet so Monero wallets get the existing Sign / Verify view. cs_monero 4.0.0 already wraps MONERO_Wallet_signMessage and MONERO_Wallet_verifySignedMessage, so this only forwards them through CsMoneroInterface.

Signatures are wallet2 SigV2 spend-key signatures for the chosen primary address or subaddress, compatible with monero-wallet-cli/rpc sign and verify. wallet2 returns an empty string instead of throwing when signing fails, so treat that as an error. View-only wallets cannot sign.

Implement SignVerifyInterface on LibMoneroWallet so Monero wallets get
the existing Sign / Verify view. cs_monero 4.0.0 already wraps
MONERO_Wallet_signMessage and MONERO_Wallet_verifySignedMessage, so this
only forwards them through CsMoneroInterface.

Signatures are wallet2 SigV2 spend-key signatures for the chosen primary
address or subaddress, compatible with monero-wallet-cli/rpc sign and
verify. wallet2 returns an empty string instead of throwing when signing
fails, so treat that as an error. View-only wallets cannot sign.
@codecov

codecov Bot commented Nov 11, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 17 lines in your changes missing coverage. Please review.
✅ Project coverage is 14.08%. Comparing base (e93f052) to head (6c49e3c).
⚠️ Report is 6 commits behind head on staging.

Files with missing lines Patch % Lines
...wallets/wallet/intermediate/lib_monero_wallet.dart 0.00% 17 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           staging    #1509      +/-   ##
===========================================
+ Coverage    14.01%   14.08%   +0.06%     
===========================================
  Files         1139     1139              
  Lines       114724   114742      +18     
===========================================
+ Hits         16078    16156      +78     
+ Misses       98646    98586      -60     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@julian-CStack
julian-CStack merged commit 7659bc8 into staging Nov 11, 2026
3 of 4 checks passed
@julian-CStack
julian-CStack deleted the feat/monero-signing branch November 11, 2026 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants